let devServer = require('./vue.dev')

module.exports = {
  devServer: devServer,
  assetsDir: 'flb/static',
  indexPath: 'flb/index.html',
  productionSourceMap: false,
  configureWebpack: config => {
    if (process.env.NODE_ENV === 'production') {
      // 去除consol.log
      config.optimization.minimizer[0].options.terserOptions.compress.drop_console = true
    }
  }
}
